<template>
  <el-container class="public">
    <el-header class="header">{{ $store.state.userInfo.name }}</el-header>
    <el-container>
      <el-aside width="200px" class="menu-box">
        <!-- 菜单 -->
        <Menu/>
      </el-aside>
      <el-main>
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<script>
import Menu from './components/Menu.vue'
export default {
  components: {
    Menu
  }
}
</script>


<style lang="scss" scoped>
.header {
  border-bottom: 1px solid #ccc;
}

.menu-box {
  border-right: 1px solid #ccc;
}
</style>